﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Xyz.Web.Reservation.Models.MemberPaymentModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    MemberPayment
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Member Payment</h2>
    <% using (Html.BeginForm())
       {%>
    <%: Html.ValidationSummary(true) %>
    <%if (ViewData["PaymentPoints"] != null)
      {%>
    <div>
        The following member points will be deducted from your account:
        <b><%: ViewData["PaymentPoints"] %></b></div>
    <% } %>
    <p>
        <%: ViewData["Result"] ?? ""%>
        <input type="submit" value="  Create  " class="yellow_button" />
    </p>
    <%} %>
</asp:Content>
